﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Master/Admin.Master" AutoEventWireup="true"
    CodeBehind="UserBaseListList.aspx.cs" Inherits="Besture.UI.UserBaseListList" %>

<%@ Import Namespace="Besture.Common" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div class="listPage">
        <!--顶部操作按钮开始-->
		<div class="operateBar">
			<ul>
				<li><a href="javascript:grid.SelectRows();" class="operate-all"><s class="icon-gou-red"></s>全选</a></li>
				<li><a href="javascript:grid.UnselectRows();"  class="operate-cancel"><s class="icon-cancel-yellow"></s>
					取消</a></li>
				<li>
					<asp:LinkButton ID="lbAllDelete" runat="server" OnClientClick="return confirm('删除后无法恢复，确定删除选中项吗?');"
						class="operate-delete" OnClick="lbDel_Click"><s class="icon-delete"></s>删除</asp:LinkButton>
				</li>
				<li>
					<asp:LinkButton ID="lbAdd" runat="server" class="operate-add" OnClick="lbAdd_Click"><s class="icon-add-green"></s>添加</asp:LinkButton>
				</li>
			</ul>
        </div>
        <!--顶部操作按钮结束-->
        <cms:ASPxGridView ID="grid" ClientInstanceName="grid" runat="server" Width="99%"
            AutoGenerateColumns="False" KeyFieldName="ID" OnCustomCallback="GridCustomCallback"
            OnRowDeleting="GridRowDeleting">
            <Columns>
                <cms:GridViewCommandColumn ShowSelectCheckbox="true" VisibleIndex="0" Width="50px"
                    FixedStyle="Left">
                    <HeaderTemplate>
                        <input type="checkbox" onclick="grid.SelectAllRowsOnPage(this.checked);" title="全选/全不选"
                            id="chkAll" runat="server" />
                    </HeaderTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                </cms:GridViewCommandColumn>
				<cms:GridViewDataTextColumn Caption="操作" VisibleIndex="2" Width="120px" HeaderStyle-HorizontalAlign="Center"
                    CellStyle-HorizontalAlign="Center" FixedStyle="Left">
                    <DataItemTemplate>
						<div class="operateBox">
                            <a class="btn-text-edit" href="UserBaseListSet.aspx?id=<%# Eval("ID")%>" title="编辑">
                            </a>&nbsp;&nbsp;<a class="btn-text-del" onclick="window.setTimeout(function(){aspxGVDeleteRow('ctl00_Content_grid',<%# Container.ItemIndex %>);},0)"
                                title="删除"></a>
                        </div>
                    </DataItemTemplate>
                </cms:GridViewDataTextColumn>
                <cms:GridViewDataTextColumn Caption="LoginName" VisibleIndex="3" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="LoginName">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="NickName" VisibleIndex="4" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="NickName">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="LoginPwd" VisibleIndex="5" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="LoginPwd">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="UserType" VisibleIndex="6" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="UserType">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="Phone" VisibleIndex="7" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Phone">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="Email" VisibleIndex="8" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Email">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="RealName" VisibleIndex="9" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="RealName">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="Sex" VisibleIndex="10" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Sex">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="UserImage" VisibleIndex="11" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="UserImage">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataDateColumn Caption="Birthday" VisibleIndex="12" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center"  FieldName="Birthday">
					<PropertiesDateEdit DisplayFormatString="{0:yyyy-MM-dd HH:mm:ss}">
					</PropertiesDateEdit>
				</cms:GridViewDataDateColumn>
				<cms:GridViewDataTextColumn Caption="AreaCode" VisibleIndex="13" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="AreaCode">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="Tel" VisibleIndex="14" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Tel">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="TelExt" VisibleIndex="15" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="TelExt">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="ProvinceID" VisibleIndex="16" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="ProvinceID">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="CityID" VisibleIndex="17" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="CityID">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="CompanyName" VisibleIndex="18" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="CompanyName">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="Representative" VisibleIndex="19" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Representative">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="Address" VisibleIndex="20" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Address">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="UserRating" VisibleIndex="21" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="UserRating">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="RatingIntegration" VisibleIndex="22" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="RatingIntegration">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="UserPoints" VisibleIndex="23" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="UserPoints">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="ReviewerID" VisibleIndex="24" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="ReviewerID">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="CheckStatus" VisibleIndex="25" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="CheckStatus">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataDateColumn Caption="StatusTime" VisibleIndex="26" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center"  FieldName="StatusTime">
					<PropertiesDateEdit DisplayFormatString="{0:yyyy-MM-dd HH:mm:ss}">
					</PropertiesDateEdit>
				</cms:GridViewDataDateColumn>
				<cms:GridViewDataTextColumn Caption="SortID" VisibleIndex="27" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="SortID">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="IsDeleted" VisibleIndex="28" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="IsDeleted">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataTextColumn Caption="Created" VisibleIndex="29" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Created">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataDateColumn Caption="CreateTime" VisibleIndex="30" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center"  FieldName="CreateTime">
					<PropertiesDateEdit DisplayFormatString="{0:yyyy-MM-dd HH:mm:ss}">
					</PropertiesDateEdit>
				</cms:GridViewDataDateColumn>
				<cms:GridViewDataTextColumn Caption="Updated" VisibleIndex="31" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center" FieldName="Updated">
					<Settings AutoFilterCondition="Contains"></Settings>
				</cms:GridViewDataTextColumn>
				<cms:GridViewDataDateColumn Caption="UpdateTime" VisibleIndex="32" Width="" HeaderStyle-HorizontalAlign="Center" 
					CellStyle-HorizontalAlign="Center"  FieldName="UpdateTime">
					<PropertiesDateEdit DisplayFormatString="{0:yyyy-MM-dd HH:mm:ss}">
					</PropertiesDateEdit>
				</cms:GridViewDataDateColumn>
            </Columns>
        </cms:ASPxGridView>
    </div>
</asp:Content>
